from django.urls import path
from rest_framework.routers import SimpleRouter

from . import views

router = SimpleRouter()
# 127.0.0.1:8000/api/v1/order/alipay/---->post 请求
router.register('alipay', views.OrderView, 'alipay')
router.register('success', views.PaySuccessView, 'success')
urlpatterns = [
]
urlpatterns += router.urls
